﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using eProject_SEM3_SecurityServices.ObjectClass;
using eProject_SEM3_SecurityServices.DataAccess;

namespace eProject_SEM3_SecurityServices.Bussiness
{
    public class BTaskOfDepartment
    {
        DTaskOfDepartment dtod = null;
        public BTaskOfDepartment()
        {
            dtod = new DTaskOfDepartment();
        }
        public bool NewTaskDepartmentAdd(OTaskOfDepartment taskOfdepartment)
        {
            return dtod.NewTaskDepartmentAdd(taskOfdepartment);
        }
        public List<OTaskOfDepartment> getListFunctionOfDepartment()
        {
            return dtod.getListFunctionOfDepartment();        
        }
        public int getDepartmentId(int serviceId)
        {
            return dtod.getDepartmentId(serviceId);
        }
    }
}